<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>工时填写</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
    <style type="text/css">
        .back{
            padding: 30px 30px ;

            width: 1250px;
            height: 1000px;

        }
        .part{

            width: 1250px;
            height: 300px;
        }
        table{
            margin-left: 60px;
        }
        table th{
            font-weight: 100;
            width: 200px;
            height: 70px;
        }
        table td{

            width: 200px;
            height: 70px;
        }
        input{
            padding-right: 10px;
            margin-top: 10px;
            width: 160px;
            height: 30px;
            border-radius: 5px;
            border: 1px solid #4169E1;

        }
        .submitButton{
            margin-left: 1120px;
            width: 95px;
            height: 45px;
            border-radius: 5px;
            color: white;
            background-color: #33CCFF;
        }
        input:disabled{

            background-color:white;
            border-bottom: 1px solid #dbdbdb;
            border-top:0px;
            border-left:0px;
            border-right:0px;
            text-align: center;
            width: 160px;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">

    <!-- header -->
    <div th:replace="~{commons/header::header}"></div>

    <!-- left -->
    <div th:replace="~{commons/employerLeft::left}"></div>
    <!-- 内容主体区域 -->
    <div class="layui-body">
        <div class="back">
            <h1 style="text-align: center;">工时填写</h1>

            <div class="part">
        <form action="/hw_unit_writeTime" method="post" >

            <input class="submitButton" type="submit" value="提交">
                <table>

                    <tr th:each="HwTimeList:${HwTimeList}">
                        <th>院系:</th>
                        <td><input disabled="disabled" type="text" name="" th:value="${HwTimeList.getStuCollege()}"></td>
                        <th>年级:</th>
                        <td><input disabled="disabled" type="text" name="" th:value="${HwTimeList.getStuGrade()}"></td>
                        <th>姓名:</th>
                        <td><input disabled="disabled" type="text" name="" th:value="${HwTimeList.getStuName()}"></td>
                        <th>学号:</th>
                        <td><input disabled="disabled" type="text" name="" th:value="${HwTimeList.getStuId()}"></td>
                    </tr>
                    <tr th:each="HwTimeList:${HwTimeList}">
                        <th>用工批次:</th>
                        <td><input disabled="disabled" type="text" name="batchTeam" th:value="${HwTimeList.getBatchTeam()}"></td>
                        <th>用工单位:</th>
                        <td><input disabled="disabled" type="text" name="laborUnit" th:value="${HwTimeList.getLaborUnit()}"></td>
                        <th>工作状态:</th>
                        <td><input disabled="disabled" type="text" name="" th:value="${HwTimeList.getHwaWorkState()}"></td>
                      <input type="hidden" name="num" th:value="${HwTimeList.getHwTimeNum()}">
                        <th>审批状态:</th>
                        <td><input disabled="disabled" type="text" name="month" th:value="${HwTimeList.getHwTimeApplyState()}"></td>

                    </tr>


                    <tr th:each="HwTimeList:${HwTimeList}">
                        <th>提交时间:</th>
                        <td><input disabled="disabled" type="text" name="hour" th:value="${HwTimeList.getHwTimeSubmitTime()}"></td>
                        <th>年份:</th>
                        <td><input type="text" name="year" th:value="${HwTimeList.getHwTimeYear()}"></td>
                        <th>月份:</th>
                        <td><input type="text" name="month" th:value="${HwTimeList.getHwTimeMonth()}"></td>
                        <th>工时:</th>
                        <td><input type="text" name="hour" th:value="${HwTimeList.getHwTimeHour()}"></td>



                    </tr>
                    <tr th:each="HwTimeList:${HwTimeList}">
                        <th>时薪:</th>
                        <td><input type="text" name="salary" th:value="${HwTimeList.getHwTimeSalary()}"></td>
                        <th>总工资:</th>
                        <td><input type="text" name="allSalary" th:value="${HwTimeList.getHwTimeAllSalary()}"></td>

                    </tr>
                    </tbody>
                </table>

        </form>
            </div>


        </div>
    </div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function() {
        var element = layui.element;
    });
</script>
</body>
</html>
